POV-Ray : Newsgroups : povray.general : Merge Bug ? : Re: Merge Bug ? Server Time
13 Aug 2024 01:15:25 EDT (-0400)
  Re: Merge Bug ?  
From: =Bob
Date: 6 Dec 1998 19:19:02
Message: <366b1ef6.0@news.povray.org>
I don't know what's going on there but I tried putting a global_settings 
{max_trace_level 20}, out of habit, into the script and got a same-surface 
looking effect at the center of the cross. No other obvious changes. Then 
--another strange thing-- I tried 2 instead of 20 and no change *back* to the 
first look (difference?), even tried to comment it out; no return to previous 
state. So I shut POV off, restarted it, ran the scene again (global_settings 
still commented out) and it then returned to the first example: center 
removed.

Message <366AFABA.C1925F3F@pacbell.net>, Ken  typed...
>
>
>--------------E9E0C95792A610B50C726B33
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Would one of you kind people do a sanity check for me
>on this bit of pov code and tell me if it's a bug or
>a feature. If I'm not mistaken when using the merge
>function it should only remove interior surfaces
>and not act like a intersection/difference function.
>That is not what is happening with this useage as
>defined below. IF it's a bug it will be the first
>I have found and I will take it through the proper
>channels once verified.
>
>Thank you for your time,
>
>Ken Tyler
>
>camera{location<10,15,-25>look_at y*5}
>
>light_source{<0, 50,-730>rgb 1}
>
>//Incorrect behavior:
>merge{
>box{<-5, 5,-1>,<5, 7,1>}
>box{<-1,-5,-1>,<1,10,1>}
> pigment{rgbf<1,0,0,1>}
>  interior{ior 1.9}
>   finish{ambient .95}
>}
>
>//Correct behavior:
>merge{
>sphere{<-10.0,10,0>,5
> pigment{rgbf<1,0,0,1>}
>  interior{ior 1.9}
>   finish{ambient .95}
>}
>
>sphere{<- 7.5,10,1.5>,5
> pigment{rgbf<0,0,1,1>}
>  interior{ior 1.9}
>   finish{ambient .95}
> }
>}
>
>plane{-z,-50 pigment{rgb 1}}
>
>--------------E9E0C95792A610B50C726B33
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
><HTML>
><TT></TT>
>
><P><TT>Would one of you kind people do a sanity check for me</TT>
><BR><TT>on this bit of pov code and tell me if it's a bug or</TT>
><BR><TT>a feature. If I'm not mistaken when using the merge</TT>
><BR><TT>function it should only remove interior surfaces</TT>
><BR><TT>and not act like a intersection/difference function.</TT>
><BR><TT>That is not what is happening with this useage as</TT>
><BR><TT>defined below. IF it's a bug it will be the first</TT>
><BR><TT>I have found and I will take it through the proper</TT>
><BR><TT>channels once verified.</TT><TT></TT>
>
><P><TT>Thank you for your time,</TT><TT></TT>
>
><P><TT>Ken Tyler</TT><TT></TT>
>
><P><TT>camera{location<10,15,-25>look_at y*5}</TT><TT></TT>
>
><P><TT>light_source{<0, 50,-730>rgb 1}</TT><TT></TT>
>
><P><TT>//Incorrect behavior:</TT>
><BR><TT>merge{</TT>
><BR><TT>box{<-5, 5,-1>,<5, 7,1>}</TT>
><BR><TT>box{<-1,-5,-1>,<1,10,1>}</TT>
><BR><TT> pigment{rgbf<1,0,0,1>}</TT>
><BR><TT>  interior{ior 1.9}</TT>
><BR><TT>   finish{ambient .95}</TT>
><BR><TT>}</TT><TT></TT>
>
><P><TT>//Correct behavior:</TT>
><BR><TT>merge{</TT>
><BR><TT>sphere{<-10.0,10,0>,5</TT>
><BR><TT> pigment{rgbf<1,0,0,1>}</TT>
><BR><TT>  interior{ior 1.9}</TT>
><BR><TT>   finish{ambient .95}</TT>
><BR><TT>}</TT><TT></TT>
>
><P><TT>sphere{<- 7.5,10,1.5>,5</TT>
><BR><TT> pigment{rgbf<0,0,1,1>}</TT>
><BR><TT>  interior{ior 1.9}</TT>
><BR><TT>   finish{ambient .95}</TT>
><BR><TT> }</TT>
><BR><TT>}</TT><TT></TT>
>
><P><TT>plane{-z,-50 pigment{rgb 1}}</TT></HTML>
>
>--------------E9E0C95792A610B50C726B33--
>

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.html
=Bob


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.